package com.ruoyi.client.service;

import com.ruoyi.client.pojo.form.FavoriteAddForm;
import com.ruoyi.client.pojo.vo.FavoriteVo;

import java.util.List;

public interface FavoriteService {

    Boolean add(FavoriteAddForm form);

    Boolean deleteById(Long id);

    Boolean deleteByProductId(Long productId);

    Boolean deleteAllByMy();

    List<FavoriteVo> listByMy();

    Boolean isFavorite(Long productId);
}

